package org.example.DM.Service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.DM.Mapper.DmMapper;
import org.example.DM.Service.DmService;
import org.example.DM.pojo.pythonDto;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : zhangbo
 * @data : 2024/9/6
 * * @description :
 */
@Service
public class DmServiceImpl extends ServiceImpl<DmMapper, pythonDto>implements DmService {
    @Resource
    private DmMapper dmMapper;
    /**
     * @return
     */
    @Override
    public List<pythonDto> getResult() {
        List<pythonDto> list = dmMapper.selectList(new LambdaQueryWrapper<>());
        return list;
    }
}
